package src.stu23002150;

import java.util.Arrays;

public class chapter07_2 {
    public static void main(String[] args) {
        String[] arr = {"A","B","C"};
        Arrays.sort(arr,(String m,String n)->Integer.compare(m.length(),n.length()));
        System.out.println(Arrays.toString(arr));
    }
}
